package com.ellecity06.cwhiskymall.ui.live.player

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.response.LiveRoomGoodResponse
import com.ellecity06.cwhiskymall.bean.response.LiveRoomResponse

/**
 * @author ellecity06
 * @time 2024/11/28 16:24
 * @des
 */
sealed class LivePlayerState : IUiState {
    /**
     *     没有直播间哦
     */

    object NoLiveRoom : LivePlayerState()

    data class HasLiveRoom(val liveRoom: LiveRoomResponse): LivePlayerState()

    data class FetchGoodSuccess(val list: List<LiveRoomGoodResponse>?): LivePlayerState()
    data class FetchOnlineNumSuccess(val num: String): LivePlayerState()
    object OnExitRoom: LivePlayerState()

    /**
     * 直播间正在讲解的商品
     */
    data class FetchTopGoodSuccess(val good: LiveRoomGoodResponse?): LivePlayerState()
    data class OtherSettingValue(val value:String): LivePlayerState()
}